package com.edu.ucenterservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName UcenterApplication
 * @date 2022/9/22 16:53
 * @Version 1.0
 */
@SpringBootApplication
@EnableDiscoveryClient //开启nacos
@EnableFeignClients //开启feign
@ComponentScan("com.edu")
@MapperScan("com.edu.ucenterservice.mapper")
public class UcenterApplication {

    //启动
    public static void main(String[] args) {
        SpringApplication.run(UcenterApplication.class,args);
    }
}
